<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="renderer" content="webkit">
    <title>Coffice-ApiDoc</title>  
    <link rel="stylesheet" href="css/pintuer.css">
    <link rel="stylesheet" href="css/admin.css">
    <script src="js/jquery.js"></script>   
</head>
<body style="background-color:#f2f9fd;">
<div class="header bg-main">
  <div class="logo margin-big-left fadein-top">
    <h1><img src="images/y.jpg" class="radius-circle rotate-hover" height="50" alt="Coffice-ApiDoc"/>Coffice-ApiDoc</h1>
  </div>
</div>
<div class="leftnav" style="overflow:scroll;">
  <div class="leftnav-title"><strong><span class="icon-list"></span>${packageBase}</strong></div>
    <!-- 循环开始进行迭代输出相关的信息 -->
    <#list packageList as package>
    <h2><span id="${package}" title="${package}" style="overflow:hidden">${package}</span></h2>
      <ul style="display:block">
        <li><a id="${package}_info" href="detail?packageName=${package}" target="right"><span class="icon-caret-right"></span>功能描述</a></li>
        <li><a id="${package}_list" href="list?packageName=${package}&pageIndex=1" target="right"><span class="icon-caret-right"></span>代码列表</a></li>     
     </ul> 
     </#list>
</div>
<script type="text/javascript">
$(function(){
  $(".leftnav h2").click(function(){
	  $(this).next().slideToggle(300);	
	  $(this).toggleClass("on"); 
  })
  $("#a_leader_index").text($("span.icon-pencil-square-o").eq(0).text());
  $(".leftnav ul li a").click(function(){
      var parentID = $(this).attr("id").split("_")[0];
	    $("#a_leader_txt").text($(this).text());
      $("#a_leader_index").text($("#"+parentID).text());
  		$(".leftnav ul li a").removeClass("on");
		  $(this).addClass("on");
  })
});
</script>
<ul class="bread">
  <li><a href="javascript:void(0)"  onclick="" target="right" class="icon-home" id="a_leader_index" >API接口</a></li>
  <li><a href="##" id="a_leader_txt">接口信息</a></li>
</ul>
<div class="admin">
  <iframe scrolling="auto" rameborder="0" src="detail?packageName=${packageName}" name="right" width="100%" height="100%"></iframe>
</div>
<div style="text-align:center;">
  <p><a href="http://www.libo2018.cn/" target="_blank">Copyright © 2018-2020 Alex.LiBo All Rights Reserved</a></p>
</div>
</body>
</html>